var axios =require("axios");

var JobService={
      
	SaveJob(data ){
           var params = new URLSearchParams();
           params.append('content',JSON.stringify(data));
	       return axios.post("/services/JobService/SaveJob",params)
           .then(function (data) {
               return data.data;
           })
      .    catch(function (err) { console.warn('Error in SaveJob', err) })
       },
	GetJobDropDown( ){
           var params = new URLSearchParams();
	       return axios.post("/services/JobService/GetJobDropDown",params)
           .then(function (data) {
               return data.data;
           })
      .    catch(function (err) { console.warn('Error in GetJobDropDown', err) })
       }
};

export {
	JobService
}